package com.platform.web.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.platform.web.model.SysUser;

import java.util.Map;

/**
 * Created by 23609 on 2018/6/9.
 */
public interface IUserService {
    /**
     * 保存用户
     * @param user
     * @return
     */
    int saveUser(SysUser user);

    /**
     * 根据Id查询用户对象
     * @param id
     * @return
     */
    SysUser selectUserById(String id);
    /**
     * @return
     */
    Map<String,Object> selectUserListByPage(Page pageInfo);
}
